package com.example.onlinemonitoring.dao;

import com.example.onlinemonitoring.Util.tem.MyMapper;
import com.example.onlinemonitoring.model.Gwblqsensor;
import com.example.onlinemonitoring.model.common.ptconfig;
import java.util.List;
import org.apache.ibatis.annotations.Update;

public interface GwblqsensorMapper extends MyMapper<Gwblqsensor> {
    List<ptconfig> selectpt();
    @Update({"update gwblqsensor","set ptaddr = null","where stationid=#{stationid}","and devicegroup=#{devicegroup}","and ptaddr = #{ptaddr}"})
    int setPtaddr(Integer stationid,Integer devicegroup,Integer ptaddr);
}